package main

import "fmt"

func main() {
	s1:=[]int{1,2,3,4}
	s2:=make([]int,0)
	for i:=0;i<len(s1) ;i++  {
		s2 = append(s2,s1[i])
	}
	fmt.Println("s1--",s1)
	fmt.Println("s2--",s2)

	s1[0] =100
	fmt.Println("修改后s1--",s1)
	fmt.Println("修改后s2--",s2)
}
